#ifndef Macros_h__
#define Macros_h__

#include "Header.h"

#define STRINGIFLY(x) #x
#define TOSTRING(x) STRINGIFLY(x)

#if CONFIG_PLATFORM==PLATFORM_ANDROID
#	include <android/log>
#	define Log(...) __android_log_print(ANDROID_LOG_INFO, "NativeLib", __VA_ARGS__)
#elif CONFIG_PLATFORM == PLATFORM_WIN32_VS
#	define Log(...) printf(__VA_ARGS__); printf("\n");
#endif

#if CONFIG_PLATFORM==PLATFORM_WIN32_VS
#	define TODO(x) __pragma(message("[TODO]:" __FILE__ "("TOSTRING(__LINE__)")" TOSTRING(x))); Log(x);
#else
#	define TODO(x)
#endif

#endif // Macros_h__
